package com.iyue.servlet.taglibs;

import java.io.IOException;

import javax.servlet.jsp.JspException;
import javax.servlet.jsp.JspWriter;

/**
 * 《截图》实现类
 * 
 * @author 孙晓晔
 * @version $Id: Image1Tag.java,v 1.1 2009/02/16 07:53:06 sunxy Exp $
 */
public class Image1Tag extends ImageTagUtil {

	private static final long serialVersionUID = 8635509023843676289L;

	public int doStartTag() throws JspException {
		JspWriter out = pageContext.getOut();

		try {
			out.print(img("x"));
		} catch (IOException e) {
			e.printStackTrace();
		}

		return (EVAL_BODY_INCLUDE);
	}

	public int doEndTag() throws JspException {
		return (EVAL_PAGE);
	}

}
